package com.tuananh.radnom.persist;

import java.util.ArrayList;

import com.tuananh.radnom.model.NetConn;
import com.tuananh.radnom.model.NetInterface;

public interface INetConnDAO {
	
	public boolean add(NetInterface parent,NetInterface child);
	public boolean add(NetConn netConn);
	public boolean update(NetConn netConn);
	public boolean remove(String name);
	
	public ArrayList<NetConn> getAll();
	public NetConn getByName(String name);
}
